{php include wl_template('common/header');}
<ul class="nav nav-tabs">
	<li  class="active" ><a href="#">入驻设置</a></li>
</ul>
<div class="app-content">
	<div class="app-form">
		<form action="" method="post" class="form-horizontal form form-validate">
			<div class="panel panel-default">
				<div class="panel-heading">入驻设置</div>
				<div class="tab-content">
					<div class="form-group">
						<label class="col-sm-2 control-label">代理设置付费类型</label>
						<div class="col-sm-9">
							<label class="radio-inline">
								<input type="radio"  name="base[agentright]" value="1" {if intval($register['agentright']) == 1}checked="checked"{/if}>允许
							</label>
							<label class="radio-inline">
								<input type="radio"  name="base[agentright]" value="0" {if intval($register['agentright']) == 0 || empty($register['agentright'])}checked="checked"{/if}>禁止
							</label>
							<span class="help-block">允许后,代理可以设置自己的商户付费入驻类型</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">入驻条款</label>
						<div class="col-sm-9">
							{php echo tpl_diy_editor_create('base[detail]', $register['detail']);}
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">收费说明</label>
						<div class="col-sm-9">
							{php echo tpl_diy_editor_create('base[description]', $register['description']);}
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"></label>
				<div class="col-sm-9">
					<input type="submit" name="submit" value="提交" class="btn btn-primary min-width" />
					<input type="hidden" name="token" value="{$_W['token']}" />
				</div>
			</div>
		</form>
	</div>
</div>
{php include wl_template('common/footer');}
